package com.my.chapter12;

public class practice3 {
    public static void main(String[] args) {
        int[] a = new int[10];
        try {
            System.out.println(a[10]);
        }catch (ArrayIndexOutOfBoundsException e){
            e.printStackTrace(System.out);
        }
    }
}
